package cn.fraudmetrix.octopus.modules.jacoco.entity;

import java.util.Date;

/**
 * @author libao.zheng
 * @email libao.zheng@tongdun.net
 * @date 2019/1/17 16:55
 */
public class JacocoCoverageEntity {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 应用id
     */
    private Integer appId;
    /**
     * 应用名
     */
    private String appName;
    /**
     * 覆盖率类型：增量incremental 全量full
     */
    private String coverageType;
    /**
     * 指令覆盖率
     */
    private String instructionCoverage;
    /**
     * 分支覆盖率
     */
    private String branchCoverage;
    /**
     * 圈复杂度覆盖率
     */
    private String cxtyCoverage;
    /**
     * 行覆盖率
     */
    private String lineCoverage;
    /**
     * 方法覆盖率
     */
    private String methodCoverage;
    /**
     * 类覆盖率
     */
    private String classCoverage;
    /**
     * 更新时间
     */
    private Date updateTime;

    public JacocoCoverageEntity(Integer appId, String coverageType) {
        this.appId = appId;
        this.coverageType = coverageType;
    }


    public JacocoCoverageEntity(Integer appId, String appName, String coverageType) {
        this.appId = appId;
        this.appName = appName;
        this.coverageType = coverageType;
    }

    public JacocoCoverageEntity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAppId() {
        return appId;
    }

    public void setAppId(Integer appId) {
        this.appId = appId;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getCoverageType() {
        return coverageType;
    }

    public void setCoverageType(String coverageType) {
        this.coverageType = coverageType;
    }

    public String getInstructionCoverage() {
        return instructionCoverage;
    }

    public void setInstructionCoverage(String instructionCoverage) {
        this.instructionCoverage = instructionCoverage;
    }

    public String getBranchCoverage() {
        return branchCoverage;
    }

    public void setBranchCoverage(String branchCoverage) {
        this.branchCoverage = branchCoverage;
    }

    public String getCxtyCoverage() {
        return cxtyCoverage;
    }

    public void setCxtyCoverage(String cxtyCoverage) {
        this.cxtyCoverage = cxtyCoverage;
    }

    public String getLineCoverage() {
        return lineCoverage;
    }

    public void setLineCoverage(String lineCoverage) {
        this.lineCoverage = lineCoverage;
    }

    public String getMethodCoverage() {
        return methodCoverage;
    }

    public void setMethodCoverage(String methodCoverage) {
        this.methodCoverage = methodCoverage;
    }

    public String getClassCoverage() {
        return classCoverage;
    }

    public void setClassCoverage(String classCoverage) {
        this.classCoverage = classCoverage;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
